package com.jingtai.core.entity.merchants;


import com.baomidou.mybatisplus.annotation.TableName;
import com.jingtai.core.entity.BaseEntity;
import com.jingtai.validate.swagger.CApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

import io.swagger.annotations.*;


import java.util.Date;

/**
 * 商户向供应商申请商品表
 * 
 * @author sunlaiqian
 * @date 2020-12-02 15:08:11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("shop_merchants_of_supply_apply")
@ApiModel(value = "商户向供应商申请商品表", description = "商户向供应商申请商品表")
public class MerchantsOfSupplyApply  extends BaseEntity implements Serializable {




	/**
	 * 商户ID
	 */
	@CApiModelProperty(value = "商户ID",required = true,cNotEmpty = true)
	private Long merchantsId;

	/**
	 * 供应商ID
	 */
	@CApiModelProperty(value = "供应商ID",required = true,cNotEmpty = true)
	private Long supplyId;

	/**
	 * 商品编码
	 */
	@CApiModelProperty(value = "商品编码",required = true,cNotEmpty = true)
	private String goodsCode;

	/**
	 * 数量
	 */
	@CApiModelProperty(value = "数量",required = true,cNotEmpty = true)
	private Integer goodsSize;

	/**
	 * 是否同意  0. 处理中 1:同意  2：不同意
	 */
	@CApiModelProperty(value = "是否同意  0. 处理中 1:同意  2：不同意",required = true,cNotEmpty = true)
	private Integer isAgree;

	/**
	 * 拒绝理由
	 */
	@CApiModelProperty(value = "拒绝理由",required = true,cNotEmpty = true)
	private String refuseReason;

	/**
	 * 是否撤销 0：撤销1：未撤销
	 */
	@CApiModelProperty(value = "是否撤销 0：撤销1：未撤销",required = true,cNotEmpty = true)
	private Integer isUndo;

	/**
	 * 申请类型 0：拿货1：一件代发
	 */
	@CApiModelProperty(value = "申请类型 0：拿货1：一件代发",required = true,cNotEmpty = true)
	private Integer applyType;

	/**
	 * 申请时间
	 */
	@CApiModelProperty(value = "申请时间",required = true,cNotEmpty = true)
	private Date applyTime;

}
